package com.huaxiafinance.management.mapper;

import com.huaxiafinance.management.model.YfqComment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface YfqCommentMapper {
    int deleteByPrimaryKey(String id);

    int insert(YfqComment record);

    int insertSelective(YfqComment record);

    YfqComment selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(YfqComment record);

    int updateByPrimaryKey(YfqComment record);

    List<YfqComment> selectList(@Param("typeId") String typeId, @Param("keyWord")String keyWord,
                                @Param("handleStatus")Integer handleStatus, @Param("handletype")String handletype,
                                @Param("page")Integer page, @Param("rows")Integer rows);

    Integer countComment(@Param("typeId") String typeId, @Param("keyWord")String keyWord,
                         @Param("handleStatus")Integer handleStatus, @Param("handletype")String handletype);

}